function love.load()

	font = love.graphics.newFont("font/SourceHanSansCN-Normal.otf",24)
end
function love.draw()
  love.graphics.setColor(255, 255, 255)
  love.graphics.setFont(font)
  
  --绘制棋盘
  local mapx=10
  local mapy=10
  local mapxsum=768
  local mapysum=768
  --绘制竖线
  love.graphics.line(mapx,mapy,mapx,mapy+mapysum) 
  for var=1,10,1 do  
      love.graphics.line(mapx+(1+2*var)*32,mapy,mapx+(1+2*var)*32,mapy+mapysum)  
  end  
  love.graphics.line(mapx+24*32,mapy,mapx+24*32,mapy+mapysum)

  --绘制横线
  love.graphics.line(mapx,mapy,mapx+mapxsum,mapy) 
  for var=1,10,1 do  
      love.graphics.line(mapx,mapy+(1+2*var)*32,mapx+mapxsum,mapy+(1+2*var)*32)  
  end  
  love.graphics.line(mapx,mapy+mapysum,mapx+mapxsum,mapy+mapysum)
  
  --绘制矩形
  love.graphics.rectangle("fill", 788, 10, 200, 3 )
  
  --绘制圆形
    --love.graphics.setColor(255, 255, 255)
    love.graphics.circle("fill", 466, 666, 50, 100) -- Draw white circle with 100 segments.
    --love.graphics.setColor(255, 0, 0)
    love.graphics.circle("fill", 566, 666, 50, 5)   -- Draw red circle with five segments.
    
  love.graphics.setFont(font)
  love.graphics.print("货币",788,10)
	love.graphics.print("金融帝国实验室",788,40)
  love.graphics.print("Monopoly",788,70)
  love.graphics.print("多人在线",788,100)
  love.graphics.print("QQ群：2199361",788,130)
  love.graphics.print("一款支持全平台的游戏",788,160)
  --love.graphics.line(10,10,10,600, 600,600, 600,10, 10,10) 
  --11.1
  --love.graphics.ellipse("fill",100,100,50,50,100) -- Draw white ellipse with 100 segments.
  image1 = love.graphics.newImage( "images/skin/skin-1/Farm.png" )
  love.graphics.draw(image1,106,106)
  image2 = love.graphics.newImage( "images/logo.png" )
  love.graphics.draw(image2,788,190)
  image3 = love.graphics.newImage( "images/steering_wheel.png" )
  love.graphics.draw(image3,10,522)
end

function love.keypressed( key )
    if key == "c" then
        clear = not clear
    end
end